package com.bms.cfcmms.model.system;

import com.bms.cfcmms.util.annotation.FieldDefine;
import lombok.Data;

import java.sql.Date;

import javax.persistence.Column;

/**
 * Created by carl on 2016/8/6.
 */
@Data
public class SystemSet extends SystemInfo {

    @Column(insertable = false, updatable = false, nullable = false)
    @FieldDefine(title = "序号", number = 10, hidden = true, remark = "此模块记录只有一条", fieldGroup = "用户单位信息")
    private Integer systemsetId;

    @FieldDefine(title = "单位名称", nameField = true, number = 20, fieldGroup = "用户单位信息")
    @Column(length = 50, nullable = false)
    private String userdwmc;

    @FieldDefine(title = "单位地址", number = 30, fieldGroup = "用户单位信息")
    @Column(length = 50)
    private String userAddress;

    @FieldDefine(title = "单位性质", number = 40, fieldGroup = "用户单位信息")
    @Column(length = 20)
    private String userType;

    @FieldDefine(title = "联系人", number = 50, fieldGroup = "用户单位信息")
    @Column(length = 20)
    private String userLinkmen;

    @FieldDefine(title = "联系电话", number = 60, fieldGroup = "用户单位信息")
    @Column(length = 20)
    private String userTelnumber;

    @FieldDefine(title = "开始使用日期", number = 70, fieldGroup = "用户单位信息")
    @Column(length = 50)
    private Date userStartdate;

    @FieldDefine(title = "用户备注", number = 90, fieldGroup = "用户单位信息")
    private String userRemark;

    @FieldDefine(title = "服务单位名称", number = 210, fieldGroup = "服务单位信息")
    @Column(length = 50)
    private String serviceDepartment;

    @FieldDefine(title = "服务人员", number = 220, fieldGroup = "服务单位信息")
    @Column(length = 50)
    private String serviceMen;

    @FieldDefine(title = "服务电话", number = 230, fieldGroup = "服务单位信息")
    @Column(length = 50)
    private String serviceTelnumber;

    @FieldDefine(title = "服务传真", number = 240, fieldGroup = "服务单位信息")
    @Column(length = 50)
    private String serviceFaxnumber;

    @FieldDefine(title = "服务电子邮件", number = 250, fieldGroup = "服务单位信息")
    @Column(length = 50)
    private String serviceEmail;

    @FieldDefine(title = "服务主页", number = 260, fieldGroup = "服务单位信息")
    @Column(length = 50)
    private String serviceHomepage;

    @FieldDefine(title = "服务人员QQ", number = 270, fieldGroup = "服务单位信息")
    @Column(length = 50)
    private String serviceQQ;

    @FieldDefine(title = "服务单位备注", number = 280, fieldGroup = "服务单位信息")
    private String serviceRemark;
}
